class CreateLandingPages < ActiveRecord::Migration[5.0]
  def change
    create_table :landing_pages do |t|
    	t.integer :user_id
    	t.integer :theme
    	t.string :title
    	t.string :sub_title
    	t.string :succ_msg
    	t.string :submit_btn_text
    	t.string :js_content
    	t.string :content
    	t.string :bg_color
    	t.string :title_bg_color
    	t.string :content_bg_color
    	t.string :title_label_color
    	t.string :label_color
    	t.string :desc_text_color
    	t.string :btn_bg_color
    	t.string :btn_label_color
    	t.timestamp :published_at
	t.string :publisher
	t.integer :show_type
	t.string :name
	t.string :config_content
	t.string :token
	t.string :style_type
	t.string :date
	t.string :link_text
	t.string :link_value
	t.integer :department_id
	t.integer :unread_count
	t.string :nav_title

      t.timestamps
    end
  end
end
